package com.sanmu.bean;

/**
 * @version 1.0
 * @Author xinnian
 * @Date 2024/9/14 13:33
 * @注释
 * @create: 2024-09-14 13:33
 */

public class House {
    private String name;

    public House() {
        System.out.println("House无参构造被执行");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public void init() {
        System.out.println("House init方法执行");
    }
    public void destroy() {
        System.out.println("House destroy方法执行");
    }

}
